import { ref } from "vue";

export default() => {
    const picklistValue: Ref<any[]> = ref([])
    const orderlistValue: Ref<any[]> = ref([])
    const sortOptions: Ref<any[]> = ref([])
    const dataviewValue: Ref<any[]> = ref([])
    const layout = ref<string | null>('')
    const sortKey = ref<HTMLElement | null>(null)
    const sortOrder = ref<Number | 0>(0)
    const sortField = ref<HTMLElement | null>(null)

    return {
        picklistValue,
        orderlistValue,
        sortOptions,
        dataviewValue,
        layout,
        sortKey,
        sortOrder,
        sortField
    }

}